package com.test.kotlin06

open class Player{
    open fun load() ="loading nothing..."
}


fun main() {
    val p = object :Player(){  //匿名内部类对象  对象表达式
        override open fun load() ="anonymous nothing..."
    }
    println(p.load())//创建下来只有一个对象
}